package com.transcoachapp;

import android.os.Bundle;
import android.support.v4.view.ViewPager;

import com.transcoachapp.MainActivity.StationDetailPagerAdapter;
import com.transcoachapp.MainActivity.StationPagerAdapter;

public class BusStationDetailActivity extends MainActivity {
	StationDetailPagerAdapter stationDetailPagerAdapter;
	ViewPager stationDetailViewPager;
	
	@Override
    protected void onCreate(Bundle savedInstanceState) {
            super.onCreate(savedInstanceState);
            setContentView(R.layout.activity_main);

            // Create the adapter that will return a fragment for each of the three
            // primary sections of the app.
            stationDetailPagerAdapter = new StationDetailPagerAdapter(
                            getSupportFragmentManager());
  
            // Set up the ViewPager with the sections adapter.
            stationDetailViewPager = (ViewPager) findViewById(R.id.pager);
            stationDetailViewPager.setAdapter(stationDetailPagerAdapter);
            

    }
}
